package com.ruike.alisurface.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Author: voodoo
 * CreateDate: 2023/09/26 026 上午 09:45
 * Description: 按照货道创建反扫订单
 */
public class ReScanCreateOrderBySlotBean implements Serializable {

    /**
     * mchid : 6375220095602438
     * details : [{"slotIndex":1,"quantity":1}]
     */

    String mchid;
    List<DetailsBean> details;

    public String getMchid() {
        return mchid;
    }

    public void setMchid(String mchid) {
        this.mchid = mchid;
    }

    public List<DetailsBean> getDetails() {
        return details;
    }

    public void setDetails(List<DetailsBean> details) {
        this.details = details;
    }

    public static class DetailsBean {
        /**
         * slotIndex : 1
         * quantity : 1
         */

        int slotIndex;
        int quantity;

        public int getSlotIndex() {
            return slotIndex;
        }

        public void setSlotIndex(int slotIndex) {
            this.slotIndex = slotIndex;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        @Override
        public String toString() {
            return "DetailsBean{" +
                    "slotIndex=" + slotIndex +
                    ", quantity=" + quantity +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "ReScanCreateOrderBySlotBean{" +
                "mchid='" + mchid + '\'' +
                ", details=" + details +
                '}';
    }

}
